package org.jeecg.modules.friends.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.friends.condition.MomentsLikeRecordsCondition;
import org.jeecg.modules.friends.model.MomentsLikeRecordsDO;

public interface MomentsLikeRecordsDOMapper {
    long countByCondition(MomentsLikeRecordsCondition condition);

    int deleteByCondition(MomentsLikeRecordsCondition condition);

    int deleteByPrimaryKey(Long id);

    int insert(MomentsLikeRecordsDO record);

    int insertSelective(MomentsLikeRecordsDO record);

    List<MomentsLikeRecordsDO> selectByCondition(MomentsLikeRecordsCondition condition);

    MomentsLikeRecordsDO selectByPrimaryKey(Long id);

    int updateByConditionSelective(@Param("record") MomentsLikeRecordsDO record, @Param("condition") MomentsLikeRecordsCondition condition);

    int updateByCondition(@Param("record") MomentsLikeRecordsDO record, @Param("condition") MomentsLikeRecordsCondition condition);

    int updateByPrimaryKeySelective(MomentsLikeRecordsDO record);

    int updateByPrimaryKey(MomentsLikeRecordsDO record);
}